package com.cg.config;

import com.cg.service.*;
import org.springframework.context.annotation.Bean;

/**
 * @ClassName CacheConfig
 * @Description TODO
 * @Author CG
 * @Date 2023/12/31 13:37
 **/
public class CacheConfig {

    @Bean
    public CodeService codeService(){
        return new CodeServiceImpl();
    }


    @Bean
    public PatientUserTokenService patientUserTokenService(){
        return new PatientUserTokenServiceImpl();
    }

    @Bean
    public UserTokenService userTokenService(){
        return new UserTokenServiceImpl();
    }
}
